# _*_ coding: UTF-8 _*_
# @Time     : 2022/1/6 13:35
# @Author   : zyz
# @Site     : 1012081978@qq.com
# @File     : 单选框_.py
# @Software : PyCharm
from selenium import webdriver
from selenium.webdriver.common.by import By
import time
driver = webdriver.Chrome()
driver.get(r'D:\pyworkspace\selenium_\12-编辑框 单选框 复选框 下拉框\单选框.html')

time.sleep(1)
driver.find_element(By.NAME, 'gender').click()
time.sleep(1)

driver.quit()